package com.ruoyi.common.enums;

public enum ExceptionStatusEnum {

    //项目分类已生成不可删除
    PROJECT_CATEGORY_GENERATE_ERROR(100001,"项目分类模板已生成不可删除"),
    //存在子类，无法删除
    PROJECT_CATEGORY_HAS_CHILD_ERROR(100002,"存在子类，无法删除"),
    //项目分类已生成不能重新添加
    PROJECT_CATEGORY_EXIT_ERROR(100003,"项目分类模板已生成不能重新生成"),
    ;


    private int status;
    private String msg;

    ExceptionStatusEnum(int status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public String getMsg() {
        return msg;
    }
}
